package com.security.it.core.constants;

/**
 * 常量定义
 */
public class SecurityConstants {

    /**
     * 用户密码登录请求url
     */
    public static final  String DEFAULT_LOGIN_PROCESSING_URL_PAGE = "/authentication/require";
    /**
     * 默认账号密码登录请求
     */
    public static final String DEFAULT_LOGIN_PROCESSING_URL = "/authentication/form";
    /**
     * 手机验证码登录请求
     */
    public static final String DEFAULT_LOGIN_PROCESSING_URL_MOBILE = "/authentication/mobile";
    /**
     * 验证请求url
     */
    public static final String DEFAULT_VALIDATE_CODE_URL_PREFIX  = "/code/*";
    /**
     * 验证码前缀key值
     */
    public static final  String SESSION_KEY_PREFIX = "SESSION_KEY_FOR_CODE_%s";
    /**
     * 手机登录参数
     */
    public static final  String LOGIN_PARAMETER_MOBILE = "mobile";
    /**
     * 手机验证码参数
     */
    public static final  String LOGIN_VALIDATE_CODE_FROM_MOBILE = "smsCode";
    /**
     * 用户密码登录图片验证码参数
     */
    public static final  String LOGIN_VALIDATE_CODE_FROM_USERNAME = "imageCode";
}
